package org.openstack.common.constants;

import org.openstack.common.utils.PropertyUtil;

/**
 * Created by jiyun on 2017/8/2.
 */
public class AuthConstants {
    /**
     * 配置文件名
     */
    public static final String propertyFile = "auth";
    /**
     * 配置文件属性工具类
     */
    public static final PropertyUtil propertyUtil = PropertyUtil.getInstance(propertyFile);

    /**
     * 验证URL
     */
    public static final String AUTH_URL = propertyUtil.getProperty("authURL");
    /**
     * 验证域
     */
    public static final String DOMAIN = propertyUtil.getProperty("domain");
    /**
     * 用户名
     */
    public static final String USERNAME = propertyUtil.getProperty("username");
    /**
     * 密码
     */
    public static final String PASSWORD = propertyUtil.getProperty("password");
    /**
     * 项目名称
     */
    public static final String PROJECT_NAME = propertyUtil.getProperty("projectName");

}
